﻿using AutoMapper;
using Fonour.Application.Dtos;
using Fonour.Application.Services.Interfaces;
using Fonour.Domain.Entities;
using Fonour.Domain.IRepositories;
using System;
using System.Collections.Generic;
using System.Text;

namespace Fonour.Application.Services
{
    public class DepartmentService : ServiceBase<DepartmentDto, Department>, IDepartmentService
    {
        private readonly IDepartmentRepository _departmentRepository;
        private readonly IMapper _mapper;

        public DepartmentService(IDepartmentRepository departmentRepository, IMapper mapper) : base(departmentRepository, mapper)
        {
            this._departmentRepository = departmentRepository;
            this._mapper = mapper;
        }
    }
}
